Skip to content

fix(core): restore theme.css compatibility export#351

Merged
IzumiSy merged 1 commit into
mainfrom
fix/theme-css-shim-export
Jul 2, 2026
Merged

fix(core): restore theme.css compatibility export#351
IzumiSy merged 1 commit into
mainfrom
fix/theme-css-shim-export

Conversation

@IzumiSy

@IzumiSy IzumiSy commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Motivation

Some consuming apps still import @tailor-platform/app-shell/theme.css even though the real default theme tokens now come from @tailor-platform/app-shell/styles.

That import currently fails package export resolution in Vite because ./theme.css is no longer exported, so apps hit a build error before they can migrate off the old import.

Design Decision

Keep @tailor-platform/app-shell/styles as the only stylesheet with real theme tokens and component styles, and restore @tailor-platform/app-shell/theme.css only as a no-op compatibility shim.

That keeps old imports building again without reintroducing duplicate theme CSS or making theme.css a second source of truth.

Summary

  • restore the ./theme.css package export
  • add a no-op theme.shims.css file for backward-compatible imports
  • add a patch changeset for the compatibility fix

@IzumiSy IzumiSy requested a review from a team as a code owner July 2, 2026 05:11
@IzumiSy IzumiSy self-assigned this Jul 2, 2026
@IzumiSy IzumiSy merged commit 40e0f1c into main Jul 2, 2026
3 checks passed
@IzumiSy IzumiSy deleted the fix/theme-css-shim-export branch July 2, 2026 05:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants